<?php
header('Link: <'.Page::Current()->canonical.' >; rel="canonical"');
ob_start(); 
sys::includeContent();
$out1 = ob_get_contents(); 
include(Settings::getValue("root")."system/thirdparty/MPDF54/mpdf.php");
$mpdf=new mPDF('de-DE-x','A4'); 
$mpdf->WriteHTML($out1);
$mpdf->Output();
exit;
?>